package com.daka.service.impl;

import com.daka.dao.GroupRecruitMapper;
import com.daka.entity.GroupRecruit;
import com.daka.service.GroupRecruitService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author beliveli on 2016/3/31 0031.
 */
@Service("groupRecruitService")
@SuppressWarnings("unused")
public class GroupRecruitServiceImpl implements GroupRecruitService {

    @Resource(name = "groupRecruitMapper")
    private GroupRecruitMapper groupRecruitMapper;

    public GroupRecruit selectById(int id) {
        return groupRecruitMapper.selectById(id);
    }

    public List<GroupRecruit> selectAll() {
        return groupRecruitMapper.selectAll();
    }
}
